import { ObjectId } from "mongodb";
import { BaseRequest, BaseResponse, BaseConf } from "../base";
import { file } from "../../types/Folder";

export interface ReqRenameFile extends BaseRequest {
    path: string[];
    course: ObjectId;
    name: string;
    newName:string
}

export interface ResRenameFile extends BaseResponse {
    folders: Array<string>;
    files: Array<file>;
}

export const conf: BaseConf = {
    needLogin: true,
}